feat(native-eval): support OpenClaw candidate packages - #57
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 3:15 PM ET / 19:15 UTC. ClawSweeper reviewWhat this changesThis PR adds an OpenClaw-only native-evaluation option that stages a local npm tarball, installs that exact artifact on leased hosts, and carries its identity through run manifests and research audits. Merge readiness⛔ Blocked until stronger real behavior proof is added - 4 items remain Keep this PR open for maintainer review. The feature is not on current main and the implementation is coherent, but it introduces a trusted-local npm artifact execution path on leased hosts; its SHA pinning protects identity after selection, not artifact provenance. Likely related people: Vincent Koc is the original native-eval author and recent contributor for this area (high confidence). Priority: P2 Review scores
Verification
How this fits togetherShellBench native evaluation packages a pinned runner and task suite, provisions remote hosts, bootstraps the selected harnesses, and exports run metadata for auditing. This change adds an OpenClaw candidate package to that controller-to-host bootstrap path and records its version and SHA-256 in campaign, toolchain, and run provenance. flowchart LR
A[Local OpenClaw tarball] --> B[Campaign controller]
B --> C[Package metadata and SHA check]
C --> D[Leased evaluation host]
D --> E[Bootstrap npm installation]
E --> F[Run and toolchain manifests]
F --> G[Research audit export]
Decision needed
Why: Whether controlled campaign operators may introduce an arbitrary local npm artifact as a bootstrap source is a product security-boundary decision; source review cannot decide the acceptable trust and attestation policy. Before merge
Findings
Agent review detailsSecurityNeeds attention: The patch deliberately adds a trusted-local npm execution path; integrity checks are present, but maintainer approval is needed because package lifecycle scripts can execute on leased hosts without producer attestation. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: If maintainers approve trusted local artifacts for controlled campaigns, retain the OpenClaw-only scope, SHA-pinned resume identity, and audit provenance, document the operator trust boundary, and add redacted real-host proof showing verification, installation, and exported provenance. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes a new evaluation capability rather than reporting broken existing behavior. The stated AWS run has no inspectable runtime artifact in the prepared evidence, so it is not independently reproducible from this review. Is this the best way to solve the issue? Unclear: the source implementation is focused and preserves candidate identity well, but accepting a locally supplied package as executable bootstrap input requires maintainer security-policy approval before it can be called the best solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (18 earlier review cycles; latest 8 shown)
|
What does this PR do?
Adds exact local OpenClaw package artifacts to native evaluation campaigns.
Why?
ShellBench needs reproducible pre-publication baseline/candidate runs without
publishing temporary npm versions or mutating warmed machines.
Fixes #56
Changes
--openclaw-package-tarballcampaign input and OpenClaw-only validationExact proof
933616f90607b43970d2aaaf1de051a5fe8a751e514882f69c557d56e15755d2c7a.8xlargeAWS run installed the package and exported three results.openclaw, version2026.7.2,artifact filename, and SHA-256.
that invalidates its score comparison, not the package staging proof.
Tests
108 focused native-eval tests pass
Ruff passes on all touched Python files
fresh Codex autoreview reports no actionable findings
python -m pytest -qpasses locallypython -m ruff check clawbench app.py scripts testspasses locally, or the change is docs-only